import ChildA from './ChildA.jsx'
import ChildB from './ChildB.jsx'
import Reducer from './Reducer.jsx'
import Context from './Context.jsx'
import * as antd from 'antd'
export default function(){
    const [state, dispatch] = Reducer();
    return (
        <Context.Provider value={{state, dispatch: dispatch}}>
            Parent
            <ChildA></ChildA>
            <antd.Divider></antd.Divider>
            <ChildB></ChildB>
        </Context.Provider>
    )
}